{% extends current_cfg.template|add:"/base.html" %}
{% block metadescription %}{{ category.name|striptags|truncatewords:10 }}{% endblock %}
{% block metakeywords %}{{ category.get_keywords }}{% endblock %}
{% block subtitle %}{{ category.name|striptags|truncatewords:10 }}{% endblock %}
{% block main %}
<section class="category">
<header>
	<h5><a href="/category/list">Ver todas las categorías</a></h5>
	<h4><label class="label">Categoría padre: </label>
	    <a href="/category/{{ category.parent.slug }}" title="{{ category.parent.description|striptags }}">{{ category.parent.name }}</a>
	</h4>
	<h1>{{ category.name }}</h1>
    {% with category.get_childs as categories %}  
    {% with "Categorías hijas" as desc %}
        {% include current_cfg.template|add:"/categories/no_layout/nav.html" %}
    {% endwith %}  
    {% endwith %}  
</header>
<p>
    {{ category.description|safe }}
</p>

{% include current_cfg.template|add:"/content/no_layout/list.html" %}

</section>
{% endblock %}